package base;

public class T3 {
    private String ss = "1233";

    public static void main(String[] args) {
        T311 T311 = new T311();
//        System.out.println(T311.ss);   子类不能访问父类的private方法
        System.out.println(T311.ss);
        T311.a();
        System.out.println("====================");
        int n =10;
        do {
            n--;
        }while (n!=0);
        System.out.println(n);
        System.out.println("=============");

    }

    public void tt() {
        TTT ttt = new TTT();
    }

    class TTT {
        String sa = ss;

    }
}

 class T31 {
     String ss ;
     static int x;
     private int res = 10;
     T31(String ss){
         this.ss=ss;
     }
     T31(){
      this("1334");
     }
     final public void a(){
         System.out.println("父类的a方法");
     }
     public void b(){

     }
     public static void c(){

     }
     public void d(){

     }
     protected void f(){

     }
     public float e(){
         return 3.0f;
     }
     public static void main(String[] args) {
         System.out.println(x);

     }

}

class T311 extends T31 {

     T311(){
         super.ss = "123344234";

     }

    @Override
     public void f() {
        super.f();
    }
}
abstract class An{
    public String name; // 普通成员变量

    public static void main(String[] args) {
        System.out.println(3%1.0);
    }
}
interface In{

}


